package com.jenings.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("gwc")
public class SPCard {
    @TableId(value = "gwc_id",type = IdType.AUTO)
    private Integer gwcId;
    private Integer spId;
    private Integer userId;
    private int spSl;

    public Integer getGwcId() {
        return gwcId;
    }

    public void setGwcId(Integer gwcId) {
        this.gwcId = gwcId;
    }

    public Integer getSpId() {
        return spId;
    }

    public void setSpId(Integer spId) {
        this.spId = spId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public int getSpSl() {
        return spSl;
    }

    public void setSpSl(int spSl) {
        this.spSl = spSl;
    }

    @Override
    public String toString() {
        return "SPCard{" +
                "gwcId=" + gwcId +
                ", spId=" + spId +
                ", userId=" + userId +
                ", spSl=" + spSl +
                '}';
    }
}
